package Turma.Jogo;

import android.framework.*;
import android.framework.Graphics.PixmapFormat;


public class ArkanoidOpening extends Scene
{
	private Background background;
	
	int i = 0;
	
	public ArkanoidOpening(Game game)
	{
		super(game);
		background = new Background(game.getGraphics(), "ArkanoidOpening.png",
				PixmapFormat.ARGB4444, game.getGraphics().getWidth(), game.getGraphics().getHeight());
	}
	
	@Override
	public void update(float deltaTime)
	{
		super.update(deltaTime);
		
		if(Click() == "down")
		{
			SceneManager.MudarCena();
		}
	}
	 
	@Override
	public void draw(float deltaTime)
	{
		super.draw(deltaTime);
		
		background.draw(deltaTime, graphics);
	}
}